package com.example.exception;
/*
@description:
@ClassName ConcurrencyFailException
@author chen
@create 2025-06-11 17:25
@Version 1.0
*/

public class ConcurrencyFailException extends RuntimeException {
    private String key;

    public ConcurrencyFailException(String message, String key)
    {
        super(message);
        this.key = key;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}

